<template>
  <div class="ovh">
    <nav-top v-if="pageType !== 'uploadImage'"></nav-top>
    <router-view />
  </div>
</template>

<script setup>
import NavTop from './components/navTop.vue'
import { computed } from 'vue'
import { useRoute } from 'vue-router'

const router = useRoute()
const pageType = computed(() => {
  return router.name
})
</script>

<style lang="scss">
@import './styles/index.scss';
#app {
  height: 100vh;
  overflow: auto;
  font-family: Avenir, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-align: center;
  color: #2c3e50;
  background-color: #cdd9e5;
}
::-webkit-scrollbar {
  width: 6px; /* 滚动条的宽度 */
  height: 6px; /* 滚动条的高度 */
}
.ovh {
  overflow: hidden;
}
</style>
